package com.rf.richfitwheel.admin.sys.dao;

import com.rf.richfitwheel.admin.sys.model.CodeDef;
import com.rf.richfitwheel.admin.sys.model.CodeDefExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface CodeDefMapper {
    long countByExample(CodeDefExample example);

    int deleteByExample(CodeDefExample example);

    int deleteByPrimaryKey(String id);

    int insert(CodeDef record);

    int insertSelective(CodeDef record);

    List<CodeDef> selectByExample(CodeDefExample example);

    CodeDef selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") CodeDef record, @Param("example") CodeDefExample example);

    int updateByExample(@Param("record") CodeDef record, @Param("example") CodeDefExample example);

    int updateByPrimaryKeySelective(CodeDef record);

    int updateByPrimaryKey(CodeDef record);
}